package com.ronsai.umtrack.base;

/**
 * 接口实体类父类：约定统一返回格式
 */
public class BaseResponse<T> {

    protected int code;
    protected String msg;
    protected T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
